home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pcbevn25.zip
/
EVENT2.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-06-24
|
1KB
|
29 lines
REM ******** Example Node 1 Event ********
REM ******** Network Example ********
pcbevent /start:1 ; Stamp node 1 caller log - event started
pcbevent /waitdownws:1:2:500 ; Wait for node 2 to drop to the event
; but abort after waiting for 500 seconds
if errorlevel == 10 goto end ; Check if node 2 droped to the event
; within the 500 seconds. IF not
; goto the end of the event.
REM =======================> Your Event goes here.
:end
pcbevent /waitupws:1:2:500 ; Wait for node 2 to finish the event
; but abort after waiting for 500 seconds
pcbevent /End:1 ; Stamp node 1 caller log that event ended
cd\pcb ; CD back to the node 1 dir
REM ******* NOTE If this batch file is "CALL"ed from the event.bat
REM ******* then this batch file will end and the event.bat will re-load
REM ******* your board.